package com.main.hotel.service;

import com.main.hotel.entity.OrderInfo;
import org.springframework.data.domain.Page;

import java.util.List;

public interface OrderInfoService {
  Page<OrderInfo> getAllOrder(int pageNum, int pageSize,int customer_id,String time);
 // Page<OrderInfo> getAllOrder(int pageNum,int pageSize,String startTime);
  OrderInfo getByOrderName(String name);
  int cancelOrder(String order_id);
  int updateOrder(String order_id);
}
